package com.pansky.crm.exeption;

import com.pansky.crm.common.mybatisplus.ApiResult;

import java.beans.ConstructorProperties;

/**
 * @author ：zhouzhiyong
 * @date ：Created in 2021/2/22 15:46
 * @description：ApiResultException
 */

public class ApiResultException extends RuntimeException {
    private static final long serialVersionUID = -5885155226898287919L;

    private ApiResult apiResult;

    @ConstructorProperties({"apiResult"})
    public ApiResultException(final ApiResult apiResult) {
        this.apiResult = apiResult;
    }

    public ApiResult getApiResult() {
        return this.apiResult;
    }

    public void setApiResult(final ApiResult apiResult) {
        this.apiResult = apiResult;
    }

}
